Automattic\Jetpack\Waf\Waf_Request A

Total Complexity 57
Dependencies 1
Dependents 1
Total lines 331
Lines of code 155
Logical lines of code 76
Comment lines 146
Methods 18
Properties 3

Methods 18

Method Rating Maintainability Complexity Lines of code
get_url()
A
44 16 40
get_headers()
A
52 9 24
get_files()
S
56 5 19
get_ip_by_header()
S
60 5 13
get_real_user_ip_address()
S
63 4 10
get_body()
S
75 2 4
get_basename()
S
67 2 7
get_uri()
S
74 2 4
get_protocol()
S
72 2 5
get_method()
S
72 2 5
set_trusted_headers()
S
80 1 3
get_filename()
S
80 1 3
get_query_string()
S
80 1 3
normalize_header_name()
S
78 1 3
get_cookies()
S
80 1 3
get_get_vars()
S
80 1 3
get_post_vars()
S
80 1 3
set_trusted_proxies()
S
80 1 3